package com.ms3ds.mineInfo.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 矿山管理对象 mine
 * 
 * @author zlw
 * @date 2025-09-16
 */
public class Mine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 矿山名称 */
    @Excel(name = "矿山名称")
    private String mineName;

    /** 经度（若有多个点则用“,”分隔） */
    @Excel(name = "经度", readConverterExp = "若=有多个点则用“,”分隔")
    private String lon;

    /** 纬度（若有多个点则用“,”分隔） */
    @Excel(name = "纬度", readConverterExp = "若=有多个点则用“,”分隔")
    private String lat;

    /** 采矿许可证号 */
    @Excel(name = "采矿许可证号")
    private String licenceNumber;

    /** 采矿权人 */
    @Excel(name = "采矿权人")
    private String obligee;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String instituteCode;

    /** 经济类型 */
    @Excel(name = "经济类型")
    private String economyType;

    /** 有效期限开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期限开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validityStartTime;

    /** 有效期限结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期限结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validityEndTime;

    /** 发证机关 */
    @Excel(name = "发证机关")
    private String issuingAuthority;

    /** 填表人 */
    @Excel(name = "填表人")
    private String formfiller;

    /** 电子邮件 */
    @Excel(name = "电子邮件")
    private String email;

    /** 开采矿种(矿种id号，多个由","分隔) */

    private String minedMinerals;

    @Excel(name = "开采矿种(矿种，多个由\",\"分隔)")
    private String showMinedMinerals;

    /** 每日开始开采时间 */
    @Excel(name = "每日开始开采时间", width = 30)
    private String dailyStartTime;

    /** 每日结束开采时间 */
    @Excel(name = "每日结束开采时间", width = 30)
    private String dailyEndTime;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public String getShowMinedMinerals() {
        return showMinedMinerals;
    }

    public void setShowMinedMinerals(String showMinedMinerals) {
        this.showMinedMinerals = showMinedMinerals;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMineName(String mineName) 
    {
        this.mineName = mineName;
    }

    public String getMineName() 
    {
        return mineName;
    }

    public void setLon(String lon) 
    {
        this.lon = lon;
    }

    public String getLon() 
    {
        return lon;
    }

    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }

    public void setLicenceNumber(String licenceNumber) 
    {
        this.licenceNumber = licenceNumber;
    }

    public String getLicenceNumber() 
    {
        return licenceNumber;
    }

    public void setObligee(String obligee) 
    {
        this.obligee = obligee;
    }

    public String getObligee() 
    {
        return obligee;
    }

    public void setInstituteCode(String instituteCode) 
    {
        this.instituteCode = instituteCode;
    }

    public String getInstituteCode() 
    {
        return instituteCode;
    }

    public void setEconomyType(String economyType) 
    {
        this.economyType = economyType;
    }

    public String getEconomyType() 
    {
        return economyType;
    }

    public void setValidityStartTime(Date validityStartTime) 
    {
        this.validityStartTime = validityStartTime;
    }

    public Date getValidityStartTime() 
    {
        return validityStartTime;
    }

    public void setValidityEndTime(Date validityEndTime) 
    {
        this.validityEndTime = validityEndTime;
    }

    public Date getValidityEndTime() 
    {
        return validityEndTime;
    }

    public void setIssuingAuthority(String issuingAuthority) 
    {
        this.issuingAuthority = issuingAuthority;
    }

    public String getIssuingAuthority() 
    {
        return issuingAuthority;
    }

    public void setFormfiller(String formfiller) 
    {
        this.formfiller = formfiller;
    }

    public String getFormfiller() 
    {
        return formfiller;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setMinedMinerals(String minedMinerals) 
    {
        this.minedMinerals = minedMinerals;
    }

    public String getMinedMinerals() 
    {
        return minedMinerals;
    }

    public void setDailyStartTime(String dailyStartTime)
    {
        this.dailyStartTime = dailyStartTime;
    }

    public String getDailyStartTime()
    {
        return dailyStartTime;
    }

    public void setDailyEndTime(String dailyEndTime)
    {
        this.dailyEndTime = dailyEndTime;
    }

    public String getDailyEndTime()
    {
        return dailyEndTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mineName", getMineName())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("licenceNumber", getLicenceNumber())
            .append("obligee", getObligee())
            .append("instituteCode", getInstituteCode())
            .append("economyType", getEconomyType())
            .append("validityStartTime", getValidityStartTime())
            .append("validityEndTime", getValidityEndTime())
            .append("issuingAuthority", getIssuingAuthority())
            .append("formfiller", getFormfiller())
            .append("email", getEmail())
            .append("minedMinerals", getMinedMinerals())
            .append("dailyStartTime", getDailyStartTime())
            .append("dailyEndTime", getDailyEndTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
